package com.system.member.service;

import com.system.common.resp.PageResp;
import com.system.member.domain.Passenger;
import com.baomidou.mybatisplus.extension.service.IService;
import com.system.member.req.PassengerQueryReq;
import com.system.member.req.PassengerSaveReq;
import com.system.member.resp.PassengerQueryResp;

import java.util.List;

/**
* @author Admin
* @description 针对表【passenger(乘车人)】的数据库操作Service
* @createDate 2024-03-18 13:29:31
*/
public interface PassengerService extends IService<Passenger> {

    void saveOrUpdate(PassengerSaveReq req);

    PageResp<PassengerQueryResp> queryList(PassengerQueryReq req);

    List<PassengerQueryResp> queryMine();
}
